package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Daily;
import cn.wolfcode.trip.base.domain.DailyComment;
import cn.wolfcode.trip.base.domain.DailyType;
import cn.wolfcode.trip.base.domain.User;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IDailyService {
    PageInfo<Daily> query(QueryObject qo);

    Daily get(Long id);

    List<DailyType> getDailyType();

    List<DailyComment> getComments(Long dailyId);

    void saveComments(DailyComment dailyComment);
}
